package org.sjs.dreamfly.biz.news

object NewsUtil {

    fun isArticleNews(url: String): Boolean {
        return url.startsWith("https://m.toutiao.com/article/")
    }

    fun isVideoNews(url: String): Boolean {
        return url.startsWith("https://m.toutiao.com/video/") || url.startsWith("https://m.ixigua.com/video/")
    }
}